<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/database/db.php');

if (!isset($_SESSION)) {
	session_start();
}


//if ($_SERVER['DOCUMENT_ROOT'] == '/Users/mikefarmer/Sites') {
	$site_root = 'http://greenautomarket.org/';
//} else {
//	$site_root = 'http://testingbiz.nam00.com/';
//}

$doc_root = $_SERVER['DOCUMENT_ROOT'];
$header = $doc_root."/header.php";
$footer = $doc_root."/footer.php";
$navigation = $doc_root."/navigation.php";
$images = $site_root."images/";

require($doc_root."/includes/common_functions.php");

?>